﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Serialization;

namespace ModelXML
{
    [Serializable]
    public class Modelo 
    {
        public Modelo()
        {
        }
        public Transformation Transformation;
        public string Name;
        public Vertice[] Vertices;
        public int[] Indices;
        public List<Map> Maps = new List<Map>();
        public SkinInfo SkinInfo;        
    }

    [Serializable]
    public struct Map
    {
        public MapTypes MapType;
        public String Path;
    }

    [Serializable]
    public enum MapTypes
    {
       Ambient = 0,Diffuse,Specular,Glossiness,SpecularLevel,SelfIllumination,Opacity,Filter,Bump,Reflection,Refraction,Displacement,Unknown
    }
}
